//
//  EmojiAttachment.h
//  YunShouHu
//
//  Created by WangQiang on 16/6/23.
//  Copyright © 2016年 WangQiang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EmojiEmotion.h"

@interface EmojiAttachment : NSTextAttachment
@property (strong ,nonatomic,readonly) EmojiEmotion *emoji;
+(instancetype)emojiAttachmentWithEmotion:(EmojiEmotion *)emotion;

+(NSAttributedString *)emojiAttachmentAttributeStringWithEmotion:(EmojiEmotion *)emotion;
@end
